<template>
  <div>
    <h1>App.veu根组件</h1>
    <hr>
    <my-com>
        <template #header="scope">
            <p>你好</p>
            <p>{{scope}}</p>
        </template>
       
        <template v-slot:default>
            <p>----------</p>
        </template>
        <template v-slot:footer="{info}" >
            <p>好的</p>
            <p>{{info}}</p>
        </template>
    </my-com>
  </div>
</template>

<script>
import MyCom from './Mycom.vue'
export default {
  components: { MyCom },
    name:'MyApp'
}
</script>

<style>

</style>